
{extend name="layout"}
{block name="body"}
    
    <section class="wld-content">
        <div class="page_title">员工信息</div>
        <div class="page_title_obj">
            <a class="go_back" href="{:url('index/staff/index')}"><i class="iconfont iconcontract2-fill"></i>返回到员工管理</a>
            
        </div>
        <div class="con_box layui-form">
            
            <form class="layui-form-type layui-form mainForm" data-auto="true" data-callback="submitCallback">
                <div class="con_title">
                    <span class="con_title_line"></span>
                    <span>个人信息</span>
                </div>
                <div class="layui-form-item add-input-look">
                   <ul>
                       <li>
                           <div>
                               <span>姓&ensp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：</span>
                               {$info.name|default=''}
                           </div>
                           <div>
                            <span>身份证号：</span>
                            {$info.id_number|default=''}
                             </div>
                            <div>
                            <span>手&ensp;机&ensp;号：</span>
                            {$info.mobile|default=''}
                             </div>
                       </li>
                       <li>   
                        <div>
                            <span>托管档案：</span>
                                    {if $info.archives eq 1}是{else/}否{/if}
                             </div>
                         <!--<div>
                         <span>银行卡号：</span>
                         {$info.bank_account|default=''}
                          </div>-->
                          <!--<div>
                            <span>开户银行：</span>
                            {$info.bank|default=''}
                        </div>-->
                        
                    </li>
                    <!--<li>                      
                       
                       <div>
                        <span>银行行号：</span>
                        {$info.bank_number|default=''}
                         </div>
                   </li>-->
                 
                   </ul>
                </div>
                <div class="con_title">
                    <span class="con_title_line"></span>
                    <span>保险信息</span>
                </div>
                <div class="add-table">
                    <table  class="layui-table table-add" lay-skin="nob">
                        <colgroup>
                            
                            <col width="100">
                            <col width="164">
                            <col width="120">
                            <col width="120">
                            <col width="120">
                            <col width="120">
                            <col width="118">
                          </colgroup>
                          <thead>
                            <tr>
                                <th>保险类型</th>
                                <th class="text-center">状态</th>
                                <th>起始日期</th>
                                <th>截止日期</th>
                                <th>社保工资</th>
                                <th>公司基数</th>
                                <th>个人基数</th>
                            </tr> 
                          </thead>
                          <tbody>
                          	{foreach $list as $key=>$vo}
                            <tr>
                              <td>{$vo.insurance|default=''}</td>
                              <td class="text-center"><span  {if $vo.status eq 1} class="on" {/if}>{$vo.status_cn|default=''}</span></td>
                              <td>{$vo.start_date|default=''}</td>
                              <td>{$vo.end_date|default=''}</td>
                              <td>{$vo.wage|default='0.00'}</td>
                              <td>{$vo.company_base|default='0.00'}</td>
                              <td>{$vo.personal_base|default='0.00'}</td>
                            </tr>
                            {/foreach}
                          </tbody>
                    </table>                
                </div>
            </form>
			

		</div>
    </section>
{/block}

{block name="style"}
<style lang="less">
   
    .layui-table tbody tr:hover{
        background-color: #fff;
	}
	.layui-table tr td:nth-child(2) span{
        width: 36px;
        line-height: 28px;
        display: inline-block;
        border: 1px dashed #e5e5ed;
        background: #fbfbfc;
        border-radius: 10px;
        color: #9c9cae;
    }
    .layui-table tr td:nth-child(2) span.on{
       background: #e7f7f9;
       border-color: #61cad7;
       color: #61cad7;
	}

    .add-input-look li div:nth-child(1){
       width: 400px;
    }
    .add-input-look li div:nth-child(2){
        width: 370px;
    }

    .add-input-look li div:nth-child(3){
        width: 210px;
    }


	
</style>
{/block}


